import {FuncBlock} from "./FuncBlock.js";

let test1 = FuncBlock(document.querySelector(".testBox"));

test1.setSize(1);
window.addEventListener("resize", () => {
    test1.setSize(1);
});

test1.setText("Test Test Test Test Test Test Test Test");
test1.setIcon("./链接.svg");
test1.setCheckedCallBack(() => {
    console.log("YES");
});
test1.setNoCheckedCallBack(() => {
    console.log("NO");
});
test1.addClickRespon();

test1.setTailBox(document.createElement("a"));